import request from "../Request";

export const login = (username,password) => {
    return request({
        url:"login/login",
        method:"POST",
        data:{ username,password }
    })
}

export const  test =(formData) =>{
    return request({
        url:"student/sendTakeMessage",
        method:"POST",
        data:formData,
        headers:{ 'Content-Type': 'multipart/form-data;utf-8',withCredentials:true }
    })
}
// module.export = {
//     login
// }